package one.stand.request.coupon;

import io.swagger.annotations.ApiParam;
import lombok.Data;
import one.stand.request.BaseRequest;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.Future;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 公司优惠券查询
 *
 * @author makejava
 */
@Data
public class CouponQuery extends BaseRequest {

    /**
     * 公司id
     */
    @ApiParam(value = "公司id")
    @NotNull(message = "公司id不能为空")
    private Integer companyId;

    /**
     * 优惠类型1满减，2折扣
     */
    @ApiParam(value = "优惠类型1满减，2折扣")
    @NotNull(message = "优惠类型不能为空")
    private Integer couponType;

    @ApiParam(value = "用户id")
    @NotNull(message = "用户id不能为空")
    private Integer userId;



}
